<template>
	<div>
		<ul>
			<van-button @click="sendMsg(item.first)" type="default" round v-for="(item, index) in hot_search" :key="index" >{{item.first}}</van-button>
		</ul>
	</div>
</template>

<script>
	export default {
		props:['hot_search'],
		methods:{
			sendMsg(msg) {
				this.$emit("button_event", msg);
			}
		}
	}
</script>

<style lang="scss" scoped>
	ul{
		display: flex;
		flex-wrap: wrap;
		padding: 10px 0 7px;
	}
	
</style>